package com.zzxy.spring.service.impl;

import com.zzxy.spring.dao.IAccountDao;
import com.zzxy.spring.dao.impl.AccountDaoImpl;
import com.zzxy.spring.service.IAccountService;

public class AccountServiceImpl implements IAccountService {
    private IAccountDao accountDao;

    public IAccountDao getAccountDao() {
        return accountDao;
    }

    @Override
    public void out(String outer, int money) {

        accountDao.out(outer, money);
    }

    @Override
    public void in(String inner, int money) {

        accountDao.in(inner, money);
    }


    public void setAccountDao(AccountDaoImpl accountDao) {
    }
}

